#ifndef HELPERS_H
#define HELPERS_H
#include <vector>
#include <string>
#include <iostream>
#include <string>

#define DEBUG(x,y) std::cout << __FILE__ <<":"<< __LINE__ \
<< " [" << x << "] \n" << #y << "=" << y << "\n" <<std::endl;

#define DEBUGINFO(x,y) std::cout << __FILE__ <<":"<< __LINE__ \
<< " [" << x << "] \n" << y << "\n" <<std::endl;
using namespace std;



void Tokenize(const string& str, vector<string>& tokens, const string& delimiters);


// Definition needed for some stupid stuff
union semun
{
    int val;               /* used for SETVAL only */
    struct semid_ds *buf;  /* used for IPC_STAT and IPC_SET */
    short *array;         /* used for GETALL and SETALL */
};


#endif

